﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Web;
using System.Web.UI.WebControls;

namespace Wne.GlobalStorage
{
    [DataContract]
    public class DocumentResponse
    {
        [DataMember]
        public Guid Id { get; set; }
        [DataMember]
        public string Document { get; set; }
        [DataMember]
        public string AuthorEmail { get; set; }
        [DataMember]
        public List<Guid> AttachmentsGuid { get; set; } 
    }

    [DataContract]
    public class AttachmentResponse
    {
        [DataMember]
        public Guid Id { get; set; }
        [DataMember]
        public string Name { get; set; }
        [DataMember]
        public byte[] File { get; set; }
    }
}